#ifndef ABSTRACTEDITFORMACTIONS_H
#define ABSTRACTEDITFORMACTIONS_H



class ItemRoot;
class ItemModel;
class QWidget;



class AbstractEditFormActions
{

public:

    virtual ItemRoot* root() const = 0;
    virtual ItemModel* model() const = 0;

    virtual bool save() = 0;
    virtual bool saveAs() = 0;

    virtual bool changed() const = 0;
    virtual void updateData() = 0;


protected:

    virtual void initialize(QWidget* self = 0) = 0;




};



#endif // ABSTRACTEDITFORMACTIONS_H


